<?php
/**
 * Created by PhpStorm.
 * User: LENOVO
 * Date: 2018/9/14
 * Time: 20:53
 */

namespace app\api\controller;


use think\Db;

class SearchKeyWords
{
    public function getKeyWords()
    {
        $result = Db::table('search_keywords')->select();
        return json_encode([
            'code'=>0,
            'data'=>$result
        ]);
    }
}